package com.ruoyi.shop.mapper;

import java.util.List;
import com.ruoyi.shop.domain.Settlement;

/**
 * 店铺结算Mapper接口
 *

 * @date 2023-07-23
 */
public interface SettlementMapper
{
    /**
     * 查询店铺结算
     *
     * @param id 店铺结算主键
     * @return 店铺结算
     */
    public Settlement selectSettlementById(Long id);

    /**
     * 查询店铺结算列表
     *
     * @param settlement 店铺结算
     * @return 店铺结算集合
     */
    public List<Settlement> selectSettlementList(Settlement settlement);

    /**
     * 新增店铺结算
     *
     * @param settlement 店铺结算
     * @return 结果
     */
    public int insertSettlement(Settlement settlement);

    /**
     * 修改店铺结算
     *
     * @param settlement 店铺结算
     * @return 结果
     */
    public int updateSettlement(Settlement settlement);

    /**
     * 删除店铺结算
     *
     * @param id 店铺结算主键
     * @return 结果
     */
    public int deleteSettlementById(Long id);

    /**
     * 批量删除店铺结算
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSettlementByIds(Long[] ids);
}
